Skip to content

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 28, 2025

This enables the frontend to disable posthog initialization, which in turns was obscuring the browser console logs during development.

  • Introduced a new devMode property in the app configuration, allowing for conditional initialization of PostHog analytics based on the development environment.
  • Updated the App component to check for devMode before initializing PostHog, enhancing control over analytics in development settings.
  • Modified the AppConfig interface to include the new devMode boolean property for type safety.

- Introduced a new `devMode` property in the app configuration, allowing for conditional initialization of PostHog analytics based on the development environment.
- Updated the App component to check for `devMode` before initializing PostHog, enhancing control over analytics in development settings.
- Modified the AppConfig interface to include the new `devMode` boolean property for type safety.
@atyrode atyrode merged commit e26d47a into main May 28, 2025
1 check passed
@atyrode atyrode deleted the improve-frontend-devmode branch May 28, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant